//*****************************************************************************
//
// ABEC data file
// Project: SP38-2
//
//*****************************************************************************

// Vertex coordinates for enclosure

// Name of Node-section is "N"
// Each line corresponds to the coordinates of a point.
// Specification is <Index> <x> <y> <z>


Nodes   "NF"
  // Exterior--------------------
  // Front wall
  2001    0.0       0.0           {Hc + 2*tc}
  2002    0.0     {Wc/2 + tc}     {Hc + 2*tc}
  2003    0.0     {Wc/2 + tc}     0.0
  2004    0.0       0.0           0.0

  // Rear wall
  2201   {-Dc - 2*tc}      0.0           {Hc + 2*tc}
  2202   {-Dc - 2*tc}    {Wc/2 + tc}     {Hc + 2*tc}
  2203   {-Dc - 2*tc}    {Wc/2 + tc}     0.0
  2204   {-Dc - 2*tc}      0.0           0.0

  // Vent opening
  2011  0.0        0.0      {Pv1}
  2012  0.0        0.0      {Pv1 + Hv1}
  2013  0.0       {Wv1/2}   {Pv1 + Hv1}
  2014  0.0       {Wv1/2}   {Pv1}
  2015  0.0        0.0      {Pv1 + Hv1/2}  // Center vent1
  2021  0.0        0.0      {Pv2}
  2022  0.0        0.0      {Pv2 - Hv2}
  2023  0.0       {Wv1/2}   {Pv2 - Hv2}
  2024  0.0       {Wv1/2}   {Pv2}
  2025  0.0        0.0      {Pv2 - Hv2/2}  // Center vent2

  // Diaphragm front side
  3000  0.0       0.0           {Pd_1}        // Center diaphragm1
  3001  0.0       0.0           {Pd_1 - dD_1/2}
  3002  0.0     {dD_1/2}        {Pd_1 - dD_1/2}
  3003  0.0     {dD_1/2}        {Pd_1 + dD_1/2}
  3004  0.0       0.0           {Pd_1 + dD_1/2}
  3005  0.0     {Wc/2 + tc}     {Pv1}
  3006  0.0     {Wc/2 + tc}     {Pv1 + Hv1}
  3007  0.0     {Wc/2 + tc}     {Pd_1 - dD_1/2}
  3008  0.0     {Wc/2 + tc}     {Pd_1 + dD_1/2}
  3009  0.0     {Wc/2 + tc}     {Pv2}
  3010  0.0     {Wc/2 + tc}     {Pv2 - Hv2}

  3100  0.0       0.0           {Pd_2}        // Center diaphragm2
  3011  0.0       0.0           {Pd_2 + dD_2/2}
  3012  0.0     {dD_2/2}        {Pd_2 + dD_2/2}
  3013  0.0     {dD_2/2}        {Pd_2 - dD_2/2}
  3014  0.0       0.0           {Pd_2 - dD_2/2}
  3017  0.0     {Wc/2 + tc}     {Pd_2 + dD_2/2}
  3018  0.0     {Wc/2 + tc}     {Pd_2 - dD_2/2}

  3029  0.0     {Wc/2 + tc}     {Pd_1}
  3039  0.0     {Wc/2 + tc}     {Pd_2}

  // Interior ------------------
  // Front wall
  12001  {-tc}       0.0        {Hc + tc}
  12002  {-tc}     {Wc/2}       {Hc + tc}
  12003  {-tc}     {Wc/2}       {tc}
  12004  {-tc}       0.0        {tc}
  12005  {-tc}     {Wc/2}       {Pv1 + Hv1}
  12006  {-tc}     {Wc/2}       {Pv1}

  // Tunnel
  12011  {-tc}      0.0         {Pv1}  // To the front
  12012  {-tc}      0.0         {Pv1 + Hv1}
  12013  {-tc}      {Wv1/2}     {Pv1 + Hv1}
  12014  {-tc}      {Wv1/2}     {Pv1}
  12015  {-Dv1}      0.0        {Pv1}  // To the rear
  12016  {-Dv1}      0.0        {Pv1 + Hv1}
  12017  {-Dv1}      {Wv1/2}    {Pv1 + Hv1}
  12018  {-Dv1}      {Wv1/2}    {Pv1}
  12021  {-tc}      0.0         {Pv2}  // To the front
  12022  {-tc}      0.0         {Pv2 - Hv2}
  12023  {-tc}      {Wv1/2}     {Pv2 - Hv2}
  12024  {-tc}      {Wv1/2}     {Pv2}
  12025  {-Dv1}      0.0        {Pv2}  // To the rear
  12026  {-Dv1}      0.0        {Pv2 - Hv2}
  12027  {-Dv1}      {Wv1/2}    {Pv2 - Hv2}
  12028  {-Dv1}      {Wv1/2}    {Pv2}
  
  // Rear wall
  12201  {-Dc - tc}    0.0      {Hc + tc}
  12202  {-Dc - tc}  {Wc/2}     {Hc + tc}
  12203  {-Dc - tc}  {Wc/2}     {tc}
  12204  {-Dc - tc}    0.0      {tc}

  // Diaphragm inner side
  13000  {-tc}       0.0        {Pd_1}
  13001  {-tc}       0.0        {Pd_1 - dD_1/2}
  13002  {-tc}     {dD_1/2}     {Pd_1 - dD_1/2}
  13003  {-tc}     {dD_1/2}     {Pd_1 + dD_1/2}
  13004  {-tc}       0.0        {Pd_1 + dD_1/2}
  
  13005  {-tc}     {Wc/2}       {Pv1}
  13006  {-tc}     {Wc/2}       {Pv1 + Hv1}

  13007  {-tc}     {Wc/2}       {Pd_1 - dD_1/2}
  13008  {-tc}     {Wc/2}       {Pd_1 + dD_1/2}

  13010  {-tc}       0.0        {Pd_2}
  13011  {-tc}       0.0        {Pd_2 + dD_2/2}
  13012  {-tc}     {dD_2/2}     {Pd_2 + dD_2/2}
  13013  {-tc}     {dD_2/2}     {Pd_2 - dD_2/2}
  13014  {-tc}       0.0        {Pd_2 - dD_2/2}
  13015  {-tc}     {Wc/2}       {Pv2}
  13016  {-tc}     {Wc/2}       {Pv2 - Hv2}
  13017  {-tc}     {Wc/2}       {Pd_2 + dD_2/2}
  13018  {-tc}     {Wc/2}       {Pd_2 - dD_2/2}
